package com.lcj.odr.service.impl;

import com.lcj.odr.db.dao.OrderBillDao;
import com.lcj.odr.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private OrderBillDao orderBillDao;

    @Override
    public String searchCustomerOpenId(Long customerId) {
        String id = orderBillDao.searchCustomerOpenId(customerId);
        return id;
    }

    @Override
    public String searchDriverOpenId(Long driverId) {
        String id = orderBillDao.searchDriverOpenId(driverId);
        return id;
    }
}
